package com.itheima.tlias84.service;

import com.itheima.tlias84.dto.SelectStudentDTO;
import com.itheima.tlias84.po.InsertStudentsParam;
import com.itheima.tlias84.po.SelectStudentsPageParam;
import com.itheima.tlias84.po.UpdateStudentParam;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;


public interface StudentsService {

    ResultUtil selectAllStudents(SelectStudentsPageParam param);

    int deleteById(List<Integer> ids);

    int insertStudents(InsertStudentsParam param);

    SelectStudentDTO selectStudentById(Integer id);

    int updateStudent(UpdateStudentParam param);

    int updateViolation(Integer id,  Integer score);
}
